"""
MongoDB 客户端
"""

from pymongo import MongoClient
from pymongo.database import Database

from config import settings

mongo_client: MongoClient = MongoClient(settings.MONGODB.URI)
""" MongoDB 客户端对象 """

mongo_db: Database = mongo_client[settings.MONGODB.DB_NAME]
""" MongoDB 数据库对象 """
